<%--
  Created by IntelliJ IDEA.
  User: zlq
  Date: 2022/3/1
  Time: 19:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>欢迎界面</title>
  </head>
  <body>
  <h1>当前有 <span><%=this.getServletConfig().getServletContext().getAttribute("OnlineCount")%></span> 人在线</h1>
<%--  <h1>当前有 <span><%=this.getServletConfig().getServletContext().getAttribute("User_Count")%></span> 人登录</h1>--%>
  <h2>1、打印Hello World</h2>
  <h2>Hello World!</h2>

  <h2>2、点击跳转到FirstServlet</h2>
  <input type="button" value="FirstServlet" onclick="window.location.href='http://localhost:8080/web_framework/first'; ">

  <h2>3、点击跳转到LoginServlet</h2>
  <input type="button" value="LoginServlet" onclick="window.location.href='login.jsp'; ">
  </body>
</html>
